<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
%>
<h2 class="contentTitle">更新销售单</h2>


<div class="pageContent">
	
	<form method="post" action="<c:url value="/sellOrder/update.do"/>" class="pageForm required-validate" method="post" enctype="multipart/form-data"  onsubmit="return iframeCallback(this,navTabAjaxDone);">
		<div class="pageFormContent nowrap" layoutH="97">
<input type="hidden" name="id" value="${sellOrder.id}" maxlength="50" class="required"/>
			<dl>
				<dt>已付款：</dt>
				<dd>
					<input type="text" name="alreadyPay" value='${sellOrder.alreadyPay}'  maxlength="50" class="required  number" alt="已付款"/>
					
				</dd>
			</dl>
			<dl>
				<dt> 应付款：</dt>
				<dd>
					<input type="text" name="totalPrice" value='${sellOrder.totalPrice}'  class="required  number" alt="应付款"/>
				
				</dd>
			</dl>
			
			<dl>
				<dt>状态：</dt>
				<dd>
					
					<select name="status">
					
					<option value="0" <c:if test="${sellOrder.staus.name == '未结账完成' }"> selected</c:if> >未结账完成</option>
					<option value="1" <c:if test="${sellOrder.staus.name == '结账完成' }"> selected</c:if> >结账完成</option>
					<option value="2" <c:if test="${sellOrder.staus.name == '废弃' }"> selected</c:if> >废弃</option>
					</select>
				</dd>
			</dl>
		
			
			
			<div class="divider"></div>
		
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

